package com.whuan.user.form;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * Created by 廖师兄
 * 2017-06-18 23:31
 */
@Data
public class UserForm {

    private String id;
    /**
     * 买家姓名
     */
    @NotNull(message = "姓名必填")
    private String name;

    /**
     * 买家手机号
     */
    @NotNull(message = "密码必填")
    private String password;

}
